﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class ClippingBoundary
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class ClippingBoundary
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="netDxf.ClippingBoundary">
  
  
  <h1 id="netDxf_ClippingBoundary" data-uid="netDxf.ClippingBoundary" class="text-break">Class ClippingBoundary
  </h1>
  <div class="markdown level0 summary"><p>Represent a clipping boundary to display specific portions of
an <a class="xref" href="netDxf.Entities.Image.html">Image</a>,
an <a class="xref" href="netDxf.Entities.Underlay.html">Underlay</a>,
or a <a class="xref" href="netDxf.Entities.Wipeout.html">Wipeout</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">ClippingBoundary</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><span class="xref">System.ICloneable</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="netDxf.html">netDxf</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="netDxf_ClippingBoundary_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ClippingBoundary : ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_ClippingBoundary__ctor_netDxf_Vector2_netDxf_Vector2_.md&amp;value=---%0Auid%3A%20netDxf.ClippingBoundary.%23ctor(netDxf.Vector2%2CnetDxf.Vector2)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/ClippingBoundary.cs/#L65">View Source</a>
  </span>
  <a id="netDxf_ClippingBoundary__ctor_" data-uid="netDxf.ClippingBoundary.#ctor*"></a>
  <h4 id="netDxf_ClippingBoundary__ctor_netDxf_Vector2_netDxf_Vector2_" data-uid="netDxf.ClippingBoundary.#ctor(netDxf.Vector2,netDxf.Vector2)">ClippingBoundary(Vector2, Vector2)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>ClippingBoundary</code> class as a rectangular clipping boundary from two opposite corners.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ClippingBoundary(Vector2 firstCorner, Vector2 secondCorner)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Vector2.html">Vector2</a></td>
        <td><span class="parametername">firstCorner</span></td>
        <td><p>Rectangle first corner.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Vector2.html">Vector2</a></td>
        <td><span class="parametername">secondCorner</span></td>
        <td><p>Rectangle second corner.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_ClippingBoundary__ctor_System_Collections_Generic_IEnumerable_netDxf_Vector2__.md&amp;value=---%0Auid%3A%20netDxf.ClippingBoundary.%23ctor(System.Collections.Generic.IEnumerable%7BnetDxf.Vector2%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/ClippingBoundary.cs/#L75">View Source</a>
  </span>
  <a id="netDxf_ClippingBoundary__ctor_" data-uid="netDxf.ClippingBoundary.#ctor*"></a>
  <h4 id="netDxf_ClippingBoundary__ctor_System_Collections_Generic_IEnumerable_netDxf_Vector2__" data-uid="netDxf.ClippingBoundary.#ctor(System.Collections.Generic.IEnumerable{netDxf.Vector2})">ClippingBoundary(IEnumerable&lt;Vector2&gt;)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>ClippingBoundary</code> class as a polygonal clipping boundary.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ClippingBoundary(IEnumerable&lt;Vector2&gt; vertexes)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="netDxf.Vector2.html">Vector2</a>&gt;</td>
        <td><span class="parametername">vertexes</span></td>
        <td><p>The list of vertexes of the polygonal boundary.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_ClippingBoundary__ctor_System_Double_System_Double_System_Double_System_Double_.md&amp;value=---%0Auid%3A%20netDxf.ClippingBoundary.%23ctor(System.Double%2CSystem.Double%2CSystem.Double%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/ClippingBoundary.cs/#L54">View Source</a>
  </span>
  <a id="netDxf_ClippingBoundary__ctor_" data-uid="netDxf.ClippingBoundary.#ctor*"></a>
  <h4 id="netDxf_ClippingBoundary__ctor_System_Double_System_Double_System_Double_System_Double_" data-uid="netDxf.ClippingBoundary.#ctor(System.Double,System.Double,System.Double,System.Double)">ClippingBoundary(Double, Double, Double, Double)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the <code>ClippingBoundary</code> class as a rectangular clipping boundary.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ClippingBoundary(double x, double y, double width, double height)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">x</span></td>
        <td><p>Rectangle x-coordinate of the first corner.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">y</span></td>
        <td><p>Rectangle y-coordinate of the first corner.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">width</span></td>
        <td><p>Rectangle width.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">height</span></td>
        <td><p>Rectangle height.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_ClippingBoundary_Type.md&amp;value=---%0Auid%3A%20netDxf.ClippingBoundary.Type%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/ClippingBoundary.cs/#L90">View Source</a>
  </span>
  <a id="netDxf_ClippingBoundary_Type_" data-uid="netDxf.ClippingBoundary.Type*"></a>
  <h4 id="netDxf_ClippingBoundary_Type" data-uid="netDxf.ClippingBoundary.Type">Type</h4>
  <div class="markdown level1 summary"><p>Gets the clipping boundary type, rectangular or polygonal.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ClippingBoundaryType Type { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.ClippingBoundaryType.html">ClippingBoundaryType</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_ClippingBoundary_Vertexes.md&amp;value=---%0Auid%3A%20netDxf.ClippingBoundary.Vertexes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/ClippingBoundary.cs/#L98">View Source</a>
  </span>
  <a id="netDxf_ClippingBoundary_Vertexes_" data-uid="netDxf.ClippingBoundary.Vertexes*"></a>
  <h4 id="netDxf_ClippingBoundary_Vertexes" data-uid="netDxf.ClippingBoundary.Vertexes">Vertexes</h4>
  <div class="markdown level1 summary"><p>Gets the list of vertexes of the polygonal boundary, or the opposite vertexes if the boundary is rectangular.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IReadOnlyList&lt;Vector2&gt; Vertexes { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IReadOnlyList</span>&lt;<a class="xref" href="netDxf.Vector2.html">Vector2</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_ClippingBoundary_Clone.md&amp;value=---%0Auid%3A%20netDxf.ClippingBoundary.Clone%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/ClippingBoundary.cs/#L111">View Source</a>
  </span>
  <a id="netDxf_ClippingBoundary_Clone_" data-uid="netDxf.ClippingBoundary.Clone*"></a>
  <h4 id="netDxf_ClippingBoundary_Clone" data-uid="netDxf.ClippingBoundary.Clone">Clone()</h4>
  <div class="markdown level1 summary"><p>Creates a new ClippingBoundary that is a copy of the current instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public object Clone()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Object</span></td>
        <td><p>A new ClippingBoundary that is a copy of this instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <span class="xref">System.ICloneable</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_ClippingBoundary.md&amp;value=---%0Auid%3A%20netDxf.ClippingBoundary%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/ClippingBoundary.cs/#L35" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
